implemented modal box for logging in (with some problems, modal overlay z-index is messed up)