Error Messages, and Login

Still working on cookies.