changed interface of project and serialized to make functional the login and logout sections