fixed main page + added login