Fixed localhost bugs and added CSS