adding login functionality navigation and camera capture