better code structure for auth
google login support