added authentication
retouch the login page and some clean up