JSHinted code, added user management things