added methods for authentication, implementation to be done