fixed validators, added logout link, added errors to views