(fixed) Check if user is active at login

Pull Includes inclusion of development secret.js file, must be removed in master