fixed a silly mistake, add option for user login