login added cause it was rather disturbing to change code every time it compiled