login additions

- redirects people to login page when not logged in (added in
SCADSY_Controller)
- added function to get data of logged in user.
minor corrections
Merge branch 'master' of https://github.com/Remaged/Scadsy