created login and logout of parse. and added a sampe query to Event class