Built-in authentication and added username correction