changed login steps