 # ... except for show_global_info2 (null or a timestamp)
 init.other_settings.show_global_info2 = 'loading' # indicates it is starting up
 init.user_type = if misc.get_local_storage(remember_me) then 'signing_in' else 'public'  # default
-redux.createStore('account', AccountStore, init)
+store = redux.createStore('account', AccountStore, init)
 
 # Register account actions
 actions = redux.createActions('account', AccountActions)
+actions._init(store)
 
 # Create and register account table, which gets automatically
 # synchronized with the server.


# Define account actions
class AccountActions extends Actions
    set_user_type: (user_type) =>
        @setState
            user_type    : user_type

    get_page_size: =>
        return @getIn(['other_settings', 'page_size']) ? 50  # at least have a valid value if loading...


# Register account store
# Use the database defaults for all account info until this gets set after they login
