Renaming and deletion of redundant classes

Renaming of UserMain to ProfileMain, to be consistent with the servlets.
There was a duplicate class getUser in LoginMain and also in
ProfileMain. Class removed from LoginMain.