Updates to authentication and edit pin page