Handle login POST requests