Added session support, finished sign in page