#authentication added

basic authentication logic added