Added modals for login and pin a photo