Merge pull request #33 from YfLn/Richard

Database unit test changes and redirect when signed in
Added a test for changePassword form clearing

This test checks if the changePassword method clears the form after
receiving a successful message.
Added test for updateUserProfile

I need to make a branch now that I think about cuz I have already made
like 5 tests.
Added test for change password

Change password should display error message if update fails.
update
fix
unfinished portfolio
forgot to pull
forgot to pull, now commit the changes made for portfolio
display portfolio in view profile; add function to add dbid in porfolio; add function to read db from portfolio; add porfolio array in user model
Merge pull request #34 from YfLn/yufan

display portfolio in view profile; add function to add dbid to portfolio; add function to get db in portfolio; add portfolio array in user model
Merge pull request #35 from YfLn/master

Updating Richard branch from master