Edited login sequence