making login work locally