Bug fixes

Fixed user creation bug and also created a dynamical tree-view which
detects if the user is following any projects and activates the
"Followed" tab on log in if the condition is true.