Returning error or username on login