Bugfix: $uid >= 1000 instead of $uid > 1000
Users where shell is set to /bin/false are not allowed to login