added full user-facing pm functionality
fixed login redirection
Merge branch 'pm'