After successful login, user is redirected to /posts; Fixes #10.