Authentication features

Added authentication features