add facroty. add login and log out links
improve user specs