added foundation and log in