Lotsa changes

Added local version of the server for auto login for localhost.