Merge pull request #37 from YfLn/Richard

Check for unique database in portfolio, remove database from portfolio
Merge pull request #38 from YfLn/Richard

Renamed "addDatabase" and "removeDatabase" functions to "addDatabaseToPo...
Changed database controller

Need to use scope.user before first and just update Authentication.user
if update is successful
Merge pull request #39 from YfLn/master

Updating Richard branch from Master