Added pseudocode for log in.