Login protection

Now players will not be able to get attacked or damaged when they login after certain seconds.
I'd prefer if you just remove the commits because they trash the commit log otherwise.