Updated files

added comments and password rest functionality