Exporting username when login is invalid to fill username input