added more to create user working with auto login