Save credential to cookie
Added logout button