trim down login a bit