finished login/logout, added errors to webpages