implemented login and room Activities