updated with auto login part