finished up authentication