Added progress dialog in the login

Also added confirmation to send image.