finished setting up authentication