Fixed grade image.
Played with 404.
Server side login/logout methods added.
Resolved merge conflicts.