Fix PurpleController responses and set up user authentication
Merge pull request #1 from lrdiv/authentication

Fix PurpleController responses and set up user authentication