Fixed the logic in the MainActivity to choose wether to display LoginActivity or FrontPageActivity (will need some other classes before it works)