Auth, endpoints

added routes endpoint and updated pw-encoding