Authentication implemented
added few things still uncomplete