add login as user functionality
fix/complete maps using user's layers, refs #831
Merge branch 'master' into integration