started working on authentication