fix minor issue on login fail
add if-comments for ie detection/html5 support
form permissions