cleanup
added message security and login page