main auth and signup file updated