added initial authentication for user