Added basic login using the $_SESSION

Added simple login steps using $_SESSION variables