added basic login to post app