A RESTful API for Users and their Authentications