Added unction serverLogin