Started working on authentication dialog