added some formatting to authentication