Realizing Login and logout, basica post.