Login implemented to the /user servlet. Fixed some bugs.