login and auth system added + many improvements