Working login/register and adding posts.