Added basic security login check