renamed MainActitvity to LoginActivity
renamed gates to locks
check if location already exists before adding new fragment
renamed locations to places