formatting for authorization