Renaming of main thread page to index.jsp and login page (formally named index) to login.jsp
Renamed references to index and login pages
Added hashing of passwords before POSTing
Minor improvements
Added hashing capabilities (yet unused) and added Javadoc to methods