Minor bug fixes: Login prompt on liking posts and not redirecting from login page to main page after successful login