Login now properly stores information in userData