Implements login functionality from Parse docs but yet to transition to posts page