Jens work

Added keypress options, logout function is now working, cleaned up the way we saved new models