Added more user management functionality and changed login redirection