Bump version number to 0.4
Fix expired time check. fixes #2

The administrator or super admin will never be expired automatically.
Also better naming of variables.