asdlfkj
added more authentication checks